package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.PledgeDetailBean;

/**
* 描述：获取股票质押明细数据
* @author: codesmith
**/
@Data
@TableName("pledge_detail")
public class PledgeDetailEntity implements PledgeDetailBean {
    
    /*
    * TS股票代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`ann_date`") protected LocalDate annDate;

    @TableField("`holder_name`") protected String holderName;
    /*
    * 质押数量（万股）
    */
    @TableId
    @TableField("`pledge_amount`") protected Double pledgeAmount;
    /*
    * 质押开始日期
    */
    @TableId
    @TableField("`start_date`") protected LocalDate startDate;
    /*
    * 质押结束日期
    */
    @TableId
    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`is_release`") protected String isRelease;

    @TableField("`release_date`") protected LocalDate releaseDate;

    @TableField("`pledgor`") protected String pledgor;

    @TableField("`holding_amount`") protected Double holdingAmount;

    @TableField("`pledged_amount`") protected Double pledgedAmount;

    @TableField("`p_total_ratio`") protected Double pTotalRatio;

    @TableField("`h_total_ratio`") protected Double hTotalRatio;

    @TableField("`is_buyback`") protected String isBuyback;
}